<!DOCTYPE html>
<html>
<body>

<!-- ... -->
<script type="text/javascript" src="https://www.java.com/js/deployJava.js"></script>
<script>
var attributes = {code:'mypackage.MyApplet', width:'1000', height:'100'};
var parameters = {jnlp_href:'myapplet.jnlp'};
deployJava.runApplet(attributes, parameters, '1.7');
</script>
<noscript>A browser with Javascript enabled is required for this page to operate properly.</noscript>
<!-- ... -->

<!-- ... -->
<script type="text/javascript" src="https://www.java.com/js/deployJava.js"></script>
<script type="text/javascript">
var attributes = {archive:'myapplet.jar', codebase:'http://localhost/app/', code:'mypackage.MyApplet', width:'1000', height:'100'};
var parameters = {permissions:'sandbox', nimgs:'17', offset:'-57', img: 'images/tumble', maxwidth:'120'};
deployJava.runApplet(attributes, parameters, '1.7');
</script>
<noscript>A browser with Javascript enabled is required for this page to operate properly.</noscript>
<!-- ... -->

</body>
</html>
